package com.koron.css2.newProjectCenter.impl;

import com.koron.css2.common.dto.AttachmentDto;
import com.koron.css2.common.service.AbstractExportExcel;
import com.koron.css2.serviceManage.bean.RequestBean;
import com.koron.css2.serviceManage.bean.UserInfoBean;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.ArrayList;

public class PjMeterOpenAccountExport extends AbstractExportExcel {

    @Override
    public AttachmentDto getAttachment(SessionFactory factory, UserInfoBean userInfo, RequestBean req) {
        AttachmentDto attachment = new AttachmentDto();
        attachment.setBtlTemplate("PjMeterOpenAccountExport.btl");
        attachment.setData(new ArrayList<String>());
        attachment.setFilename("工程报装-立户水表导出模板");
        attachment.setFileTemplate("PjMeterOpenAccountExport.xlsx");
        attachment.setFileType("excel");
        return attachment;
    }
}
